package com.itheima.io;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @author Anomaly
 * @date 2023/2/9 21:44
 */
public class FileWriterDemo {
    public static void main(String[] args) throws IOException {
        Writer w = new FileWriter("file-io/src/test.txt");
        w.write(68);
        w.write('a');
        w.write("oop\r\nuiuu");
        w.write("呵呵");
        w.close();
    }
}
